LWJGL_BASE_PATH=../../SpaStaSwe/lwjgl

CLASS_NAME=TimerExample

all: build run

build:
	javac -cp ${LWJGL_BASE_PATH}/jar/lwjgl.jar ${CLASS_NAME}.java

run:
	java -cp .:${LWJGL_BASE_PATH}/jar/lwjgl.jar -Djava.library.path=${LWJGL_BASE_PATH}/native/linux ${CLASS_NAME}

# java -cp .:res:${LWJGL_BASE_PATH}/jar/lwjgl.jar:${LWJGL_BASE_PATH}/jar/lwjgl_test.jar:${LWJGL_BASE_PATH}/jar/lwjgl_util.jar:${LWJGL_BASE_PATH}/jar/jinput.jar: -Djava.library.path=${LWJGL_BASE_PATH}/native/macosx DisplayExample
